<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //字符串--类数字[]  属性length
        let [a,b,x]="123";
        console.log(a,b,x);
        let {length:len}="12111";
        console.log(len);

        // 字符串 blloean
        let {toString:str}=123;
        //数值和布尔值的包装对象都有toString属性，因此左侧的变量str/st都能取到值。
        console.log(str);


    </script>
</body>
</html>